package com.cy;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class ConsumerService {

    @SentinelResource("doGetResource")
    public String doGetResource(){
        System.out.println("doGetResource");
        return "doGetResource";
    }
}
